﻿using DotNetCore.CAP;

namespace Microsoft.Extensions.DependencyInjection
{
    public static class CapOptionsExtensions
    {
        public static CapOptions UseNoStorage(this CapOptions options)
        {
            var o = options.UseInMemoryStorage();
            options.RegisterExtension(new NostorageCapOptionsExtension());
            return o;
        }
    } 
}
